package com.mysen.sso.service;

import java.util.List;

import com.mysen.model.Response;
import com.mysen.sso.model.Role;

public interface RoleService {

	Response<?> selectByPage(Role record);

	Role save(Role record);

	void updateById(Role record);

	void deleteById(String id);

	Role selectById(String id);
	
	void addPermissions(Role record);
	
	List<Role> selectTree(String pid, boolean isAll);
}